package com.dodayum.controller;

import com.dodayum.pojo.ServiceInformation;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
public class JumpController {

    // test
    @RequestMapping("test/goAdmin")
    public String testAdmin(){
        System.out.println("asd");
        return "testAdmin";
    }

    // service
    @RequestMapping("service/all")
    public String queryAll(){
        return "all";
    }

    @RequestMapping(value = "user/manage")
    public String toUser(){
        return "user";
    }

}
